/**
 * Class:Materiel		  
 * @author 
 * @version 1.0 
 */

package com.mycompany.biblio.model;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Transient;


@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public class Materiel implements Serializable {
    
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    protected Long id;
    protected String titreAnnonce;
    protected String dateDebutLocation;
    protected String dateFinLocation;
    protected String Description;
    @Transient
    protected boolean selected;
    
    // ======================================
    // =            Constructors            =
    // ======================================
    
    public Materiel(){
    }

    
  
    // ======================================
    // =          Getters & Setters         =
    // ======================================
    
     public Long getId() {
        return id;
    }

    public String getTitreLocation() {
        return titreLocation;
    }

    public String getMarque() {
        return Marque;
    }

    public String getDateDebutLocation() {
        return dateDebutLocation;
    }

    public String getDateLocation() {
        return dateLocation;
    }

    public String getDescription() {
        return Description;
    }

    public void setTitreLocation(String titreLocation) {
        this.titreLocation = titreLocation;
    }

    public void setMarque(String Marque) {
        this.Marque = Marque;
    }

    public void setDateDebutLocation(String dateDebutLocation) {
        this.dateDebutLocation = dateDebutLocation;
    }

    public void setDateLocation(String dateLocation) {
        this.dateLocation = dateLocation;
    }

    public void setDescription(String Description) {
        this.Description = Description;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }
}

